package com.wyc.service.mode.builder;

import java.util.ArrayList;

/**
 * 提供对象实例的的初始化设置方法和返回此对象方法，实现一个建造者类
* */
public class BenzBuilder extends CarBuilder {
    private BenzModel benzModel = new BenzModel();
    @Override
    public void setSequence(ArrayList<String> sequence) {
        this.benzModel.setSequence(sequence);
    }

    @Override
    public CarModel getModel() {
        return this.benzModel;
    }
}
